<?php
//Compiled by TIBlog Template Engine v2.0 , Created on : 2011-04-11 22:58:07
defined('IN_DTE') or exit('Access Denied');
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<HTML xmlns="http://www.w3.org/1999/xhtml">
<HEAD>
<TITLE>Administrator's Control Panel</TITLE>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META content=IE=8 http-equiv=X-UA-Compatible>
<LINK href="/static/admin/style.css" type=text/css rel=stylesheet>
<META content="MSHTML 6.00.2900.3157" name=GENERATOR></HEAD>
<BODY id=main>
<h2>所有广告列表</h2>
<form method="post" name="listform" action="" enctype="multipart/form-data">
<table cellspacing="0" cellpadding="0" width="100%"  class="toptable">
<tr><td> 
	<input type="input" name="keyword" value="" class="input">
	<select id="sc" name="sc">
		<option value="ASC">升序</option>
		<option value="DESC" selected>降序</option>
	</select>
	<input type="submit" class="button" value="搜索">
</td>
</tr>
</table>
</form>

<TABLE class=listtable cellSpacing=0 cellPadding=0 width="100%">
  <TBODY>
  <TR>
    <TH  align=left>名称</TH>	
	<TH width=150>链接</TH>	
	<TH width=80>类型</TH>
	<TH width=50>有效</TH>	
	<TH width=120>发布时间</TH>	
    <TH width=60>操作</TH></TR>
<?php
if (!empty($_obj['newsList'])){
if (!is_array($_obj['newsList']))
$_obj['newsList']=array(array('newsList'=>$_obj['newsList']));
$_tmp_arr_keys=array_keys($_obj['newsList']);
if ($_tmp_arr_keys[0]!='0')
$_obj['newsList']=array(0=>$_obj['newsList']);
$_stack[$_stack_cnt++]=$_obj;
foreach ($_obj['newsList'] as $rowcnt=>$newsList) {
$newsList['ROWCNT']=$rowcnt;
$newsList['ALTROW']=$rowcnt%2;
$newsList['ROWBIT']=$rowcnt%2;
$_obj=&$newsList;
?>
  <TR class=darkrow>
    <TD><A style="FONT-SIZE: 14px" href="/admin/ads/edit/<?php
echo $_obj['id'];
?>
"><?php
echo $_obj['name'];
?>
</A></TD>	
	<TD align=middle><?php
echo $_obj['url'];
?>
</TD>
	<TD align=middle><?php
echo $_obj['type'];
?>
</TD>
	<TD align=middle><?php
echo $_obj['is_verify'];
?>
</TD>
	<TD align=middle><?php
echo $_obj['addtime'];
?>
</TD>	
	<TD><a href="/admin/ads/edit/<?php
echo $_obj['id'];
?>
">编辑</A> | <a href="/admin/ads/del/<?php
echo $_obj['id'];
?>
" onClick="return confirm('确定要删除此楼盘？不可撤销！');" >删除</A>
	</TD></TR>
<?php
}
$_obj=$_stack[--$_stack_cnt];}
?>
</TBODY></TABLE>
<?php
echo $_obj['pageParam'];
?>

<br>
</BODY></HTML>
